import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import './assets/css/basic.less'
// import { Breadcrumb, Carousel, Input } from 'ant-design-vue';
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css'; // or 'ant-design-vue/dist/antd.less'
import './assets/fonts/fonts.less'
// 阿里图标库
import "@/assets/iconfont/iconfont.css";

import moment from 'moment'
moment.locale('zh-cn')

import VueAMap, {initAMapApiLoader} from '@vuemap/vue-amap';
import '@vuemap/vue-amap/dist/style.css'
import config from '@/utils/config'
initAMapApiLoader({
  key: config.amapKey
})

import dataV  from '@jiaminghi/data-view'

const app = createApp(App);
app.config.globalProperties.$moment = moment
// /* 会自动注册 Button 下的子组件, 例如 Button.Group */
// app.use(Carousel);
// app.use(Breadcrumb);
// app.use(Input);
app.use(Antd);
app.use(VueAMap);
app.use(dataV);
app.use(router ).mount('#app');
